class Renderer
  def render(obj)
    method = "render_#{obj.game_type.to_s}".to_sym
    
    if self.respond_to?(method)
      self.send(method, obj) if self.respond_to?(method)
    else
      LOGGER.add(Logger::DEBUG, "No rendering method available for #{obj.game_type} to create one add the method #{method} to #{self.class}")
    end
  end
end